package com.softlab.retailwholesalesystem.entity;


import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单-货物详情实体类
 */
@Data
@TableName(value = "t_map")
@AllArgsConstructor
@NoArgsConstructor
public class OrderGoodsMapEntity implements Serializable {

    @TableId(type= IdType.AUTO)
    private Long mapId;
    private Long orderId;
    private Long goodsId;
    @TableField(exist = false)
    private String goodsName;
    private Integer goodsNumber;
    private Integer repositoryId;
    @TableField(exist = false)
    private String repositoryName;
    private Double singlePrice;
    @TableField(fill= FieldFill.INSERT)
    private Date createTime;
    @TableField(fill= FieldFill.INSERT_UPDATE)
    private Date modifiedTime;
    private Integer isDelete;
}
